import request from '@/utils/request'
//民主测评
export function getProductInfoList(data) {
  return request({
    url: '/gpfPchProduct/list',
    method: 'post',
    data
  })
}export function getProductInfoListOpen(data) {
  return request({
    url: '/gpfPchProduct/listOpen',
    method: 'post',
    data
  })
}

export function getProductInfoListData() {
  return request({
    url: '/gpfPchProduct/listInfo',
    method: 'post',
  })
}

export function createProductInfo(data) {
  return request({
    url: '/gpfPchProduct/create',
    method: 'post',
    data
  })

}


export function updateProductInfo(data) {
  return request({
    url: '/gpfPchProduct/update',
    method: 'put',
    data
  })
}

export function deleteProductInfo(data) {
  return request({
    url: '/gpfPchProduct/delete?idlist='+data,
    method: 'get',

  })
}




